<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://services.drarchanasharma.com/Scheduler.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" />
  <xs:import schemaLocation="http://services.drarchanasharma.com/Scheduler.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/HMS.DataContract.Request" />
  <xs:import schemaLocation="http://services.drarchanasharma.com/Scheduler.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:element name="GetLocationList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="clinicCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetLocationListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetLocationListResult" nillable="true" type="q1:ArrayOfLocationResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDoctorList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="LocId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDoctorListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetDoctorListResult" nillable="true" type="q2:ArrayOfDoctorResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAppointmentDetails">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="patientId" type="xs:int" />
        <xs:element minOccurs="0" name="doctorApptId" type="xs:int" />
        <xs:element minOccurs="0" name="doctorId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAppointmentDetailsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetAppointmentDetailsResult" nillable="true" type="q3:ArrayOfDoctorAppointmentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetMonthlyAppointmentList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DocId" type="xs:int" />
        <xs:element minOccurs="0" name="LocId" type="xs:int" />
        <xs:element minOccurs="0" name="clinicId" type="xs:int" />
        <xs:element minOccurs="0" name="startDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="endDate" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetMonthlyAppointmentListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetMonthlyAppointmentListResult" nillable="true" type="q4:ArrayOfMonthChart" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDailyAppointmentList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DocId" type="xs:int" />
        <xs:element minOccurs="0" name="LocId" type="xs:int" />
        <xs:element minOccurs="0" name="clinicId" type="xs:int" />
        <xs:element minOccurs="0" name="startDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="endDate" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDailyAppointmentListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetDailyAppointmentListResult" nillable="true" type="q5:ArrayOfDailyList" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveAppointmentDetails">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="doctorAppointmentResponse" nillable="true" type="q6:DoctorAppointmentResponse" />
        <xs:element minOccurs="0" name="clinicCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveAppointmentDetailsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="SaveAppointmentDetailsResult" nillable="true" type="q7:DoctorAppointmentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClinicName">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="clinicCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetClinicNameResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetClinicNameResult" nillable="true" type="q8:ClinicResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteAppointment">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="AppointmentId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteAppointmentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="DeleteAppointmentResult" nillable="true" type="q9:DoctorAppointmentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="PatientName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="ClinicId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetPatientListResult" nillable="true" type="q10:ArrayOfPatientResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientById">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="PatientId" type="xs:int" />
        <xs:element minOccurs="0" name="date" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPatientByIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetPatientByIdResult" nillable="true" type="q11:DoctorAppointmentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveImage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/HMS.DataContract.Request" minOccurs="0" name="appDoc" nillable="true" type="q12:AppointmentDocumentRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveImageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="SaveImageResult" nillable="true" type="q13:AppointmentDocumentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ValidateUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="accessCode" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ValidateUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="ValidateUserResult" nillable="true" type="q14:UserInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImageList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DocApptId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetImageListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetImageListResult" nillable="true" type="q15:ArrayOfAppointmentDocumentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAppointmentHistoryByPatientId">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="patientId" type="xs:int" />
        <xs:element minOccurs="0" name="numberOfRecord" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAppointmentHistoryByPatientIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetAppointmentHistoryByPatientIdResult" nillable="true" type="q16:ArrayOfDoctorAppointmentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SavePatientDetails">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="patient" nillable="true" type="q17:PatientResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SavePatientDetailsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SavePatientDetailsResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SavePatientImage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/HMS.DataContract.Request" minOccurs="0" name="appDoc" nillable="true" type="q18:AppointmentDocumentRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SavePatientImageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="SavePatientImageResult" nillable="true" type="q19:AppointmentDocumentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDoctorSlots">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DocId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDoctorSlotsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q20="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetDoctorSlotsResult" nillable="true" type="q20:ArrayOfduration" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDoctorDayOffList">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DocId" type="xs:int" />
        <xs:element minOccurs="0" name="startDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="endDate" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetDoctorDayOffListResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetDoctorDayOffListResult" nillable="true" type="q21:ArrayOfdateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAppointmentbyId">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DocAppId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAppointmentbyIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetAppointmentbyIdResult" nillable="true" type="q22:DoctorAppointmentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAppointmentbyPatientId">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="PatientId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAppointmentbyPatientIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetAppointmentbyPatientIdResult" nillable="true" type="q23:ArrayOfDoctorAppointmentResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SavePrescriptionText">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/HMS.DataContract.Request" minOccurs="0" name="appDoc" nillable="true" type="q24:AppointmentDocumentRequest" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SavePrescriptionTextResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SavePrescriptionTextResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveDoctorDayOff">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DocId" type="xs:int" />
        <xs:element minOccurs="0" name="date" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="SaveDoctorDayOffResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="SaveDoctorDayOffResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteDoctorDayOff">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DocId" type="xs:int" />
        <xs:element minOccurs="0" name="date" type="xs:dateTime" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DeleteDoctorDayOffResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="DeleteDoctorDayOffResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="LocationBasedPatientCount">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="startDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="endDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="clinicId" type="xs:int" />
        <xs:element minOccurs="0" name="locId" type="xs:int" />
        <xs:element minOccurs="0" name="docId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="LocationBasedPatientCountResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="LocationBasedPatientCountResult" nillable="true" type="q25:ArrayOfLookUp" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetFinanceReport">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="startDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="endDate" type="xs:dateTime" />
        <xs:element minOccurs="0" name="clinicId" type="xs:int" />
        <xs:element minOccurs="0" name="locId" type="xs:int" />
        <xs:element minOccurs="0" name="docId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetFinanceReportResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" minOccurs="0" name="GetFinanceReportResult" nillable="true" type="q26:ArrayOfFinanceReportResponse" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>